//
//      Created By: Pavel Yankelevich
//      Date: Wednesday, April 09, 2008
//
using System;
using System.Collections.Generic;
using fit;
using TestUtils;
using OneDayModel.Tests.Fits.Fixtures.Definitions;

namespace OneDayModel.Tests.Fits.Fixtures.Query
{
    public class AlbumsRepositoryQueryFixture : RowFixture
    {
        public override object[] query()
        {
            List<AlbumsRepositoryDefinitionFixture> rawResult = new List<AlbumsRepositoryDefinitionFixture>();
            DefinitionExplorer<AlbumsRepositoryDefinitionFixture> fileSystemExplorer =
                new DefinitionExplorer<AlbumsRepositoryDefinitionFixture>();

            for (int i = 0; i < fileSystemExplorer.Count; i++)
                rawResult.Add(fileSystemExplorer[i]);

            return rawResult.ToArray();
        }

        public override Type getTargetClass()
        {
            return typeof(AlbumsRepositoryDefinitionFixture);
        }
    }
}